package com.adrian.misc.fractal;

import java.awt.Graphics;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;

public interface FractalCanvas {
//	public void init();
	public void repaint();
	public boolean inSync();
	public boolean colorSync();
	public boolean isRendering();
	public void setRendering(boolean val);
	public void setSync(boolean val);	
	public void setColorSync(boolean val);
	public void reset();
	
	public Fractal getFractal();
	public void setFractal(Fractal fract);
	public Rectangle getSelection();
	public void setDrawMode(int mode);
	public void setFromSelection();
	public void registerFractalListner (FractalListner fl);
	public Graphics getBufferedGraphics();
	public void updateRefreshBuffer();
	public BufferedImage getImage();
//	public FractalInterface getFractalInterface();
}
